import request from '@/utils/request'

// 查询换汇到账列表
export function listInaccount(query) {
  return request({
    url: '/system/inaccount/list',
    method: 'get',
    params: query
  })
}

// 查询换汇到账详细
export function getInaccount(iid) {
  return request({
    url: '/system/inaccount/' + iid,
    method: 'get'
  })
}

// 新增换汇到账
export function addInaccount(data) {
  return request({
    url: '/system/inaccount',
    method: 'post',
    data: data
  })
}

// 修改换汇到账
export function updateInaccount(data) {
  return request({
    url: '/system/inaccount',
    method: 'put',
    data: data
  })
}

// 删除换汇到账
export function delInaccount(iid) {
  return request({
    url: '/system/inaccount/' + iid,
    method: 'delete'
  })
}

